import { infoPropsType } from '@/types/props'
import styles from './QuestionInfo.module.scss'
import React from 'react'


export default function QuestionInfo(props:infoPropsType) {
  const {title='',desc=''} = props.props

  return (
    <div className={styles.container}>
      <div className={styles.title}>{title}</div>
      <div className={styles.desc}>{ desc }</div>
    </div>
  )
}
